import request from '@/utils/request'

// 查询教学评价考试题目结果列表
export function listAppraiseAnswers(query) {
  return request({
    url: '/edu/appraiseAnswers/list',
    method: 'get',
    params: query
  })
}

// 查询教学评价考试题目结果详细
export function getAppraiseAnswers(queRecordId) {
  return request({
    url: '/edu/appraiseAnswers/' + queRecordId,
    method: 'get'
  })
}

// 新增教学评价考试题目结果
export function addAppraiseAnswers(data) {
  return request({
    url: '/edu/appraiseAnswers',
    method: 'post',
    data: data
  })
}

// 修改教学评价考试题目结果
export function updateAppraiseAnswers(data) {
  return request({
    url: '/edu/appraiseAnswers',
    method: 'put',
    data: data
  })
}

// 删除教学评价考试题目结果
export function delAppraiseAnswers(queRecordId) {
  return request({
    url: '/edu/appraiseAnswers/' + queRecordId,
    method: 'delete'
  })
}

// 导出教学评价考试题目结果
export function exportAppraiseAnswers(query) {
  return request({
    url: '/edu/appraiseAnswers/export',
    method: 'get',
    params: query
  })
}